package com.itttq.gshop.generic;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient // 启用服务注册与发现
@EnableFeignClients(basePackages="com.itttq.gshop.generic.connector")      // 启用feign进行远程调用
public class GshopGenericApplication extends GenericApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(GshopGenericApplication.class, args);
	}
	
}
